package cn.springmvc.dao;

import cn.springmvc.model.Step6;
import cn.springmvc.model.Step6Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Step6Mapper {
    int countByExample(Step6Example example);

    int deleteByExample(Step6Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step6 record);

    int insertSelective(Step6 record);

    List<Step6> selectByExample(Step6Example example);

    Step6 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step6 record, @Param("example") Step6Example example);

    int updateByExample(@Param("record") Step6 record, @Param("example") Step6Example example);

    int updateByPrimaryKeySelective(Step6 record);

    int updateByPrimaryKey(Step6 record);
    
    List<Step6> getStep6ByNianfen(@Param("year")int year);
    Step6 getStep6ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}